-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coq_kernel: init at 1.6.0 #171202
coq_kernel: init at 1.6.0 #171202
Conversation
@SuperSandro2000 any chance I could trouble you to review this? I think it should be straightforward, I did it the same way as other Jupyter kernels I've packaged in the past. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@siraben don't you know coq?
I do, but I'm not very familiar with Jupyter. I'll review this when I have some time. |
Any chance we can get this merged soon? Coq familiarity isn't really required, you just have to start up the Jupyter notebook and confirm that it successfully runs Coq code. It works for me when doing the following: nix run nixpkgs#nixpkgs-review pr 171202
$(nix-build -E 'with import ./. {}; jupyter.override { definitions = { coq = coq-kernel.definition; }; }')/bin/jupyter-notebook |
@SuperSandro2000 @siraben ping again on this. |
I confirm that I can start the notebook and run Coq code. How would one go about adding coqPackages? Currently a dependency is broken for which I opened a PR #205043. |
I was actually looking at the metakernel breakage yesterday and realized |
I'm not sure, the manual seems to only describe how to add new ones. If you figure it out please lmk! |
Actually, it seems like However, it's not working too well for me. I tried installing EDIT: it does work in |
Aha I figured it out, based on the bullet point about Just pushed a commit adding a |
That should be pretty useful. Pinning versions is common in this space, so could you also make the coq version configurable? I would like to pass say |
I think it's already configurable via |
What I'd really like to do is open a PR to either attach the |
I've tested it with adding some |
Great! Let's see if we can get it merged now. |
@SuperSandro2000 ? This is still ready to go |
Hi @jonringer, I'm hoping to find a reviewer for this and a few other Jupyter-related PRs. I saw you committed the initial IRuby PR so I was wondering if you could take a look here? |
I've just updated this to be consistent with the latest Jupyter stuff. I think it's ready to merge! |
Could you rebase your changes with the latest nixpkgs? |
Done @GTrunSec |
Test:
Thanks, LGTM |
Cool! I guess now we ping @teto that this kernel is ready to go? |
we should ping @natsukium jupyter team. |
Description of changes
This is a Jupyter kernel for Coq, the formal proof management system.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes